.header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding: 0 @header-padding;
  right: 0;
  height: @header-hg;
  background-color: #1890ff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;

  .logo {
    margin-left: -16px;
    width: 200px;
    -webkit-transition: width 0.2s cubic-bezier(.25,0,.15,1);
    transition: width 0.2s cubic-bezier(.25,0,.15,1);

    a {
      display: block;
      text-align: center;
    }

    img {
      vertical-align: middle;
      max-width: 100%;
      -webkit-animation: 1s fadeIn;
      animation: 1s fadeIn;
    }

    .expanded {
      display: inline;
    }

    .collapsed {
      display: none;
    }
  }

  .top-nav-wrap {
    flex: 1;
    display: flex;
    justify-content: space-between;
  }

  .top-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;

    > li {
      display: inline-block;
      vertical-align: middle;
    }

    .item {
      display: block;
      color: #fff !important;
      transition: background-color 300ms;
      border-radius: 2px;
      text-align: center;
      line-height: 100%;
      padding: 8px;
      min-width: 50px;
      -webkit-transition: background-color 0.3s;
      transition: background-color 0.3s;
      cursor: pointer;
      outline: 0;

      &:hover {
        background-color: rgba(255, 255, 255, 0.2) !important;
      }

      i {
        font-size: 18px;
        line-height: 100%;
      }
    }
  }
}

.aside-collapsed {
  .header {
    .logo {
      width: 64px;

      .expanded {
        display: none;
      }

      .collapsed {
        display: inline;
      }
    }
  }
}

.user_s li {
  width: 150px;
}
